package io.babystar.modules.business.dao;

import io.babystar.modules.business.entity.ShopEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author jeson
 * @email 574197743@qq.com
 * @date 2021-03-23 20:03:34
 */
@Mapper
public interface ShopDao extends BaseMapper<ShopEntity> {

    List<ShopEntity> selectListCus(Map<String, Object> params);

    List<ShopEntity> financeByBistribution(Map<String, Object> map);

    Integer financeByBistributionCount(Map<String, Object> map);

    List<ShopEntity> financeByShopAndTeacher(Map<String, Object> map);

    Integer financeByShopAndTeacherCount(Map<String, Object> map);

    List<ShopEntity> financeDetailedByShopAndTeacher(Map<String, Object> map);

    Integer financeDetailedByShopAndTeacherCount(Map<String, Object> map);
}
